package com.cloud.schedule.common.dynamic;

public class DynamicDataSourceHolder {
	private static final ThreadLocal<String> contextHolder = new ThreadLocal<String>();

	public static void set(String key) {
		contextHolder.set(key);
	}

	public static String get() {
		return contextHolder.get();
	}

	public static void clear() {
		contextHolder.remove();
	}
}
